<?php $this->header(); ?>
<div class="wrap">

    <!-- start -->
    <div class="nav">
        <ul class="cc">
            <li class="current"><a href="/?g=Admin&m=Category&a=index">分类管理</a></li>
        </ul>
    </div>
    <form method="post" class="J_ajaxForm" action="<?php echo $func->url('Admin-Category-listsort'); ?>" data-role="list">
        <div class="table_list">
            <table width="100%" id="J_table_list" style="table-layout:fixed;">
                <colgroup>
                    <col width="5%">
                    <col width="57%">
                    <col width="8%">
                    <col width="8%">
                    <col width="20%">
                </colgroup>
                <thead>
                    <tr>
                        <td>
                            排序
                        </td>
                        <td>分类名称</td>
                        <td>模型名称</td>
                        <td>导航</td>
                        <td>操作</td>
                    </tr>
                </thead>
                <?php echo $tree; ?>
            </table>
            <table width="100%">
                <tbody>
                    <tr>
                        <td colspan="5" >
                            <a href="/?g=Admin&m=Category&a=add" data-type="forum_root" data-html="tbody" class="link_add">
                                添加新分类
                            </a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="btn_wrap">
            <div class="btn_wrap_pd">
                <button type="submit" class="btn btn_submit J_ajax_submit_btn">排序</button>
            </div>
        </div>
        <input type="hidden" name="csrf_token" value="2367858f2238a0db">
    </form>

    <!-- end -->

</div>
<?php $this->footer(); ?>